sunxi: add gpio driver
authorIan Campbell <[email protected]>
Thu, 5 Jun 2014 18:00:15 +0000 (19:00 +0100)
committerIan Campbell <[email protected]>
Fri, 18 Jul 2014 18:42:25 +0000 (19:42 +0100)
commitabce2c6220c1f8f4b66e464adc1074e04a8f19eb
treed48a9aa6537f70b5699d06f06d996678d4e4bbf5
parent5c58f8b685fbb201fd93af2a010eecd26c78bb4e
sunxi: add gpio driver

This patch enables CONFIG_CMD_GPIO for the Allwinner (sunxi) platform as well
as providing the common gpio API (gpio_request/free, direction in/out, get/set
etc).

Signed-off-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Ma Haijun <[email protected]>
Signed-off-by: Oliver Schinagl <[email protected]>
Signed-off-by: Ian Campbell <[email protected]>
Cc: Henrik Nordström <[email protected]>
Cc: Tom Cubie <[email protected]>
Acked-by: Hans de Goede <[email protected]>
arch/arm/include/asm/arch-sunxi/gpio.h
drivers/gpio/Makefile
drivers/gpio/sunxi_gpio.c [new file with mode: 0644]
include/configs/sunxi-common.h